class Employee:
    def __init__(self, name):
        self.name = name

    def __str__(self):
        return self.name


class EmployeeManager:
    def __init__(self, employees):
        self.all_employee = employees

    def __iter__(self):
        for item in self.all_employee:
            yield item


manager = EmployeeManager([Employee("1"), Employee("2")])
for element in manager:
    print(element)
